package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

@Remote
@Local
public interface AppCardFaceAssocDao {

	/**
	 * 获取应用卡面关联表信息
	 * 
	 * @param acfa
	 * @return
	 */
	public AppCardFaceAssoc getAppCardFaceAssoc(AppCardFaceAssoc acfa);

	/**
	 * 新增应用卡面关联表
	 * 
	 * @param acfa
	 * @throws PCPSApplicationException
	 */
	public void insert(AppCardFaceAssoc acfa) throws PCPSApplicationException;

	/**
	 * 更新应用卡面关联表
	 * 
	 * @param acfa
	 * @throws PCPSApplicationException
	 */
	public void update(AppCardFaceAssoc acfa) throws PCPSApplicationException;

	/**
	 * 根据卡Id移除卡应用
	 * 
	 * @param cardFaceId
	 * @throws PCPSApplicationException
	 */
	public void remove(BigInteger cardFaceId) throws PCPSApplicationException;

	/**
	 * 根据卡ID得到关联表
	 * 
	 * @param cardFaceId
	 * @return
	 * @throws PCPSApplicationException
	 */
	public List<AppCardFaceAssoc> getAppCardFaceAssocByCardId(String cardFaceId);

}
